home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / GXLayout.a < prev    next >
Text File  |  1996-05-01  |  18KB  |  694 lines

  1. ;
  2. ;    File:        GXLayout.a
  3. ;
  4. ;    Contains:    QuickDraw GX layout routine interfaces.
  5. ;
  6. ;    Version:    Technology:    Quickdraw GX 1.1
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__GXLAYOUT__') = 'UNDEFINED' THEN
  19. __GXLAYOUT__ SET 1
  20.  
  21.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  22.     include 'ConditionalMacros.a'
  23.     ENDIF
  24.     IF &TYPE('__GXTYPES__') = 'UNDEFINED' THEN
  25.     include 'GXTypes.a'
  26.     ENDIF
  27.     IF FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE THEN
  28. ;
  29. ; extern gxShape GXNewLayout(long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  30. ;
  31.     IF ¨ GENERATINGCFM THEN
  32.         Macro
  33.         _GXNewLayout
  34.             move.w              #$0000,D0
  35.             dc.w                $A832
  36.         EndM
  37.     ELSE
  38.         IMPORT_CFM_FUNCTION GXNewLayout
  39.     ENDIF
  40.  
  41. ;
  42. ; extern long GXGetLayout(gxShape layout, void *text, long *styleRunCount, short styleRunLengths[2147483647], gxStyle styles[2147483647], long *levelRunCount, short levelRunLengths[2147483647], short levels[2147483647], gxLayoutOptions *layoutOptions, gxPoint *position)
  43. ;
  44.     IF ¨ GENERATINGCFM THEN
  45.         Macro
  46.         _GXGetLayout
  47.             move.w              #$0001,D0
  48.             dc.w                $A832
  49.         EndM
  50.     ELSE
  51.         IMPORT_CFM_FUNCTION GXGetLayout
  52.     ENDIF
  53.  
  54. ;
  55. ; extern void GXSetLayout(gxShape layout, long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  56. ;
  57.     IF ¨ GENERATINGCFM THEN
  58.         Macro
  59.         _GXSetLayout
  60.             move.w              #$0002,D0
  61.             dc.w                $A832
  62.         EndM
  63.     ELSE
  64.         IMPORT_CFM_FUNCTION GXSetLayout
  65.     ENDIF
  66.  
  67. ;
  68. ; extern void GXDrawLayout(long textRunCount, const short textRunLengths[2147483647], const void *text[2147483647], long styleRunCount, const short styleRunLengths[2147483647], const gxStyle styles[2147483647], long levelRunCount, const short levelRunLengths[2147483647], const short levels[2147483647], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  69. ;
  70.     IF ¨ GENERATINGCFM THEN
  71.         Macro
  72.         _GXDrawLayout
  73.             move.w              #$0003,D0
  74.             dc.w                $A832
  75.         EndM
  76.     ELSE
  77.         IMPORT_CFM_FUNCTION GXDrawLayout
  78.     ENDIF
  79.  
  80. ;
  81. ; extern void GXSetLayoutParts(gxShape layout, gxByteOffset oldStartOffset, gxByteOffset oldEndOffset, long newTextRunCount, const short newTextRunLengths[2147483647], const void *newText[2147483647], long newStyleRunCount, const short newStyleRunLengths[2147483647], const gxStyle newStyles[2147483647], long newLevelRunCount, const short newLevelRunLengths[2147483647], const short newLevels[2147483647])
  82. ;
  83.     IF ¨ GENERATINGCFM THEN
  84.         Macro
  85.         _GXSetLayoutParts
  86.             move.w              #$0004,D0
  87.             dc.w                $A832
  88.         EndM
  89.     ELSE
  90.         IMPORT_CFM_FUNCTION GXSetLayoutParts
  91.     ENDIF
  92.  
  93. ;
  94. ; extern void GXSetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape insert)
  95. ;
  96.     IF ¨ GENERATINGCFM THEN
  97.         Macro
  98.         _GXSetLayoutShapeParts
  99.             move.w              #$0005,D0
  100.             dc.w                $A832
  101.         EndM
  102.     ELSE
  103.         IMPORT_CFM_FUNCTION GXSetLayoutShapeParts
  104.     ENDIF
  105.  
  106. ;
  107. ; extern long GXGetLayoutParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, void *text, long *styleRunCount, short styleRunLengths[2147483647], gxStyle styles[2147483647], long *levelRunCount, short levelRunLengths[2147483647], short levels[2147483647])
  108. ;
  109.     IF ¨ GENERATINGCFM THEN
  110.         Macro
  111.         _GXGetLayoutParts
  112.             move.w              #$0006,D0
  113.             dc.w                $A832
  114.         EndM
  115.     ELSE
  116.         IMPORT_CFM_FUNCTION GXGetLayoutParts
  117.     ENDIF
  118.  
  119. ;
  120. ; extern gxShape GXGetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape dest)
  121. ;
  122.     IF ¨ GENERATINGCFM THEN
  123.         Macro
  124.         _GXGetLayoutShapeParts
  125.             move.w              #$0007,D0
  126.             dc.w                $A832
  127.         EndM
  128.     ELSE
  129.         IMPORT_CFM_FUNCTION GXGetLayoutShapeParts
  130.     ENDIF
  131.  
  132. ;
  133. ; extern long GXGetLayoutGlyphs(gxShape layout, gxGlyphcode *glyphs, gxPoint positions[2147483647], long advance[2147483647], gxPoint tangents[2147483647], long *runCount, short styleRuns[2147483647], gxStyle glyphStyles[2147483647])
  134. ;
  135.     IF ¨ GENERATINGCFM THEN
  136.         Macro
  137.         _GXGetLayoutGlyphs
  138.             move.w              #$0008,D0
  139.             dc.w                $A832
  140.         EndM
  141.     ELSE
  142.         IMPORT_CFM_FUNCTION GXGetLayoutGlyphs
  143.     ENDIF
  144.  
  145. ;
  146. ; extern gxByteOffset GXHitTestLayout(gxShape layout, const gxPoint *hitDown, gxHighlightType highlightType, gxLayoutHitInfo *hitInfo, gxShape hitTrackingArea)
  147. ;
  148.     IF ¨ GENERATINGCFM THEN
  149.         Macro
  150.         _GXHitTestLayout
  151.             move.w              #$0009,D0
  152.             dc.w                $A832
  153.         EndM
  154.     ELSE
  155.         IMPORT_CFM_FUNCTION GXHitTestLayout
  156.     ENDIF
  157.  
  158. ;
  159. ; extern gxShape GXGetLayoutHighlight(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxHighlightType highlightType, gxShape highlight)
  160. ;
  161.     IF ¨ GENERATINGCFM THEN
  162.         Macro
  163.         _GXGetLayoutHighlight
  164.             move.w              #$000A,D0
  165.             dc.w                $A832
  166.         EndM
  167.     ELSE
  168.         IMPORT_CFM_FUNCTION GXGetLayoutHighlight
  169.     ENDIF
  170.  
  171. ;
  172. ; extern gxShape GXGetLayoutVisualHighlight(gxShape layout, gxByteOffset startOffset, long startLeadingEdge, gxByteOffset endOffset, long endLeadingEdge, gxHighlightType highlightType, gxShape highlight)
  173. ;
  174.     IF ¨ GENERATINGCFM THEN
  175.         Macro
  176.         _GXGetLayoutVisualHighlight
  177.             move.w              #$000B,D0
  178.             dc.w                $A832
  179.         EndM
  180.     ELSE
  181.         IMPORT_CFM_FUNCTION GXGetLayoutVisualHighlight
  182.     ENDIF
  183.  
  184. ;
  185. ; extern gxShape GXGetLayoutCaret(gxShape layout, gxByteOffset offset, gxHighlightType highlightType, gxCaretType caretType, gxShape caret)
  186. ;
  187.     IF ¨ GENERATINGCFM THEN
  188.         Macro
  189.         _GXGetLayoutCaret
  190.             move.w              #$000C,D0
  191.             dc.w                $A832
  192.         EndM
  193.     ELSE
  194.         IMPORT_CFM_FUNCTION GXGetLayoutCaret
  195.     ENDIF
  196.  
  197. ;
  198. ; extern gxByteOffset GXGetLayoutBreakOffset(gxShape layout, gxByteOffset startOffset, Fixed lineWidth, long hyphenationCount, const gxByteOffset hyphenationPoints[2147483647], Boolean *startIsStaked, gxByteOffset *priorStake, gxByteOffset *nextStake)
  199. ;
  200.     IF ¨ GENERATINGCFM THEN
  201.         Macro
  202.         _GXGetLayoutBreakOffset
  203.             move.w              #$000D,D0
  204.             dc.w                $A832
  205.         EndM
  206.     ELSE
  207.         IMPORT_CFM_FUNCTION GXGetLayoutBreakOffset
  208.     ENDIF
  209.  
  210. ;
  211. ; extern Fixed GXGetLayoutRangeWidth(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape supplementaryText)
  212. ;
  213.     IF ¨ GENERATINGCFM THEN
  214.         Macro
  215.         _GXGetLayoutRangeWidth
  216.             move.w              #$000E,D0
  217.             dc.w                $A832
  218.         EndM
  219.     ELSE
  220.         IMPORT_CFM_FUNCTION GXGetLayoutRangeWidth
  221.     ENDIF
  222.  
  223. ;
  224. ; extern gxShape GXNewLayoutFromRange(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, const gxLayoutOptions *layoutOptions, gxShape supplementaryText)
  225. ;
  226.     IF ¨ GENERATINGCFM THEN
  227.         Macro
  228.         _GXNewLayoutFromRange
  229.             move.w              #$000F,D0
  230.             dc.w                $A832
  231.         EndM
  232.     ELSE
  233.         IMPORT_CFM_FUNCTION GXNewLayoutFromRange
  234.     ENDIF
  235.  
  236. ;
  237. ; extern gxShape GXGetCaretAngleArea(gxShape layout, const gxPoint *hitPoint, gxHighlightType highlightType, gxShape caretArea, short *returnedRise, short *returnedRun)
  238. ;
  239.     IF ¨ GENERATINGCFM THEN
  240.         Macro
  241.         _GXGetCaretAngleArea
  242.             move.w              #$0010,D0
  243.             dc.w                $A832
  244.         EndM
  245.     ELSE
  246.         IMPORT_CFM_FUNCTION GXGetCaretAngleArea
  247.     ENDIF
  248.  
  249. ;
  250. ; extern void GXGetStyleBaselineDeltas(gxStyle baseStyle, gxBaselineType baseType, gxBaselineDeltas returnedDeltas)
  251. ;
  252.     IF ¨ GENERATINGCFM THEN
  253.         Macro
  254.         _GXGetStyleBaselineDeltas
  255.             move.w              #$0011,D0
  256.             dc.w                $A832
  257.         EndM
  258.     ELSE
  259.         IMPORT_CFM_FUNCTION GXGetStyleBaselineDeltas
  260.     ENDIF
  261.  
  262. ;
  263. ; extern gxByteOffset GXGetRightVisualOffset(gxShape layout, gxByteOffset currentOffset)
  264. ;
  265.     IF ¨ GENERATINGCFM THEN
  266.         Macro
  267.         _GXGetRightVisualOffset
  268.             move.w              #$0012,D0
  269.             dc.w                $A832
  270.         EndM
  271.     ELSE
  272.         IMPORT_CFM_FUNCTION GXGetRightVisualOffset
  273.     ENDIF
  274.  
  275. ;
  276. ; extern gxByteOffset GXGetLeftVisualOffset(gxShape layout, gxByteOffset currentOffset)
  277. ;
  278.     IF ¨ GENERATINGCFM THEN
  279.         Macro
  280.         _GXGetLeftVisualOffset
  281.             move.w              #$0013,D0
  282.             dc.w                $A832
  283.         EndM
  284.     ELSE
  285.         IMPORT_CFM_FUNCTION GXGetLeftVisualOffset
  286.     ENDIF
  287.  
  288. ;
  289. ; extern void GXGetCompoundCharacterLimits(gxShape layout, gxByteOffset trial, gxByteOffset *minOffset, gxByteOffset *maxOffset, Boolean *onBoundary)
  290. ;
  291.     IF ¨ GENERATINGCFM THEN
  292.         Macro
  293.         _GXGetCompoundCharacterLimits
  294.             move.w              #$0014,D0
  295.             dc.w                $A832
  296.         EndM
  297.     ELSE
  298.         IMPORT_CFM_FUNCTION GXGetCompoundCharacterLimits
  299.     ENDIF
  300.  
  301. ;
  302. ; extern void GXGetOffsetGlyphs(gxShape layout, gxByteOffset trial, long leadingEdge, gxLayoutOffsetState *offsetState, unsigned short *firstGlyph, unsigned short *secondGlyph)
  303. ;
  304.     IF ¨ GENERATINGCFM THEN
  305.         Macro
  306.         _GXGetOffsetGlyphs
  307.             move.w              #$0015,D0
  308.             dc.w                $A832
  309.         EndM
  310.     ELSE
  311.         IMPORT_CFM_FUNCTION GXGetOffsetGlyphs
  312.     ENDIF
  313.  
  314. ;
  315. ; extern void GXGetGlyphOffset(gxShape layout, long trial, long onLeftTop, gxByteOffset *offset, Boolean *leadingEdge, Boolean *wasRealCharacter)
  316. ;
  317.     IF ¨ GENERATINGCFM THEN
  318.         Macro
  319.         _GXGetGlyphOffset
  320.             move.w              #$0016,D0
  321.             dc.w                $A832
  322.         EndM
  323.     ELSE
  324.         IMPORT_CFM_FUNCTION GXGetGlyphOffset
  325.     ENDIF
  326.  
  327. ;
  328. ; extern void GXGetLayoutSpan(gxShape layout, Fixed *lineAscent, Fixed *lineDescent)
  329. ;
  330.     IF ¨ GENERATINGCFM THEN
  331.         Macro
  332.         _GXGetLayoutSpan
  333.             move.w              #$0017,D0
  334.             dc.w                $A832
  335.         EndM
  336.     ELSE
  337.         IMPORT_CFM_FUNCTION GXGetLayoutSpan
  338.     ENDIF
  339.  
  340. ;
  341. ; extern void GXSetLayoutSpan(gxShape layout, Fixed lineAscent, Fixed lineDescent)
  342. ;
  343.     IF ¨ GENERATINGCFM THEN
  344.         Macro
  345.         _GXSetLayoutSpan
  346.             move.w              #$0018,D0
  347.             dc.w                $A832
  348.         EndM
  349.     ELSE
  350.         IMPORT_CFM_FUNCTION GXSetLayoutSpan
  351.     ENDIF
  352.  
  353. ;
  354. ; extern Fixed GXGetLayoutJustificationGap(gxShape layout)
  355. ;
  356.     IF ¨ GENERATINGCFM THEN
  357.         Macro
  358.         _GXGetLayoutJustificationGap
  359.             move.w              #$0279,D0
  360.             dc.w                $A832
  361.         EndM
  362.     ELSE
  363.         IMPORT_CFM_FUNCTION GXGetLayoutJustificationGap
  364.     ENDIF
  365.  
  366. ;
  367. ; extern void GXGetLayoutJustificationFactors(gxShape layout, Fixed constrainedFactors[2147483647], Fixed unconstrainedFactors[2147483647])
  368. ;
  369.     IF ¨ GENERATINGCFM THEN
  370.         Macro
  371.         _GXGetLayoutJustificationFactors
  372.             move.w              #$027A,D0
  373.             dc.w                $A832
  374.         EndM
  375.     ELSE
  376.         IMPORT_CFM_FUNCTION GXGetLayoutJustificationFactors
  377.     ENDIF
  378.  
  379. ;
  380. ; extern void GXSetStyleRunControls(gxStyle target, const gxRunControls *runControls)
  381. ;
  382.     IF ¨ GENERATINGCFM THEN
  383.         Macro
  384.         _GXSetStyleRunControls
  385.             move.w              #$0019,D0
  386.             dc.w                $A832
  387.         EndM
  388.     ELSE
  389.         IMPORT_CFM_FUNCTION GXSetStyleRunControls
  390.     ENDIF
  391.  
  392. ;
  393. ; extern void GXSetStyleRunPriorityJustOverride(gxStyle target, const gxPriorityJustificationOverride *priorityJustificationOverride)
  394. ;
  395.     IF ¨ GENERATINGCFM THEN
  396.         Macro
  397.         _GXSetStyleRunPriorityJustOverride
  398.             move.w              #$001A,D0
  399.             dc.w                $A832
  400.         EndM
  401.     ELSE
  402.         IMPORT_CFM_FUNCTION GXSetStyleRunPriorityJustOverride
  403.     ENDIF
  404.  
  405. ;
  406. ; extern void GXSetStyleRunGlyphJustOverrides(gxStyle target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  407. ;
  408.     IF ¨ GENERATINGCFM THEN
  409.         Macro
  410.         _GXSetStyleRunGlyphJustOverrides
  411.             move.w              #$001B,D0
  412.             dc.w                $A832
  413.         EndM
  414.     ELSE
  415.         IMPORT_CFM_FUNCTION GXSetStyleRunGlyphJustOverrides
  416.     ENDIF
  417.  
  418. ;
  419. ; extern void GXSetStyleRunGlyphSubstitutions(gxStyle target, long count, const gxGlyphSubstitution glyphSubstitutions[2147483647])
  420. ;
  421.     IF ¨ GENERATINGCFM THEN
  422.         Macro
  423.         _GXSetStyleRunGlyphSubstitutions
  424.             move.w              #$001C,D0
  425.             dc.w                $A832
  426.         EndM
  427.     ELSE
  428.         IMPORT_CFM_FUNCTION GXSetStyleRunGlyphSubstitutions
  429.     ENDIF
  430.  
  431. ;
  432. ; extern void GXSetStyleRunFeatures(gxStyle target, long count, const gxRunFeature runFeatures[2147483647])
  433. ;
  434.     IF ¨ GENERATINGCFM THEN
  435.         Macro
  436.         _GXSetStyleRunFeatures
  437.             move.w              #$001D,D0
  438.             dc.w                $A832
  439.         EndM
  440.     ELSE
  441.         IMPORT_CFM_FUNCTION GXSetStyleRunFeatures
  442.     ENDIF
  443.  
  444. ;
  445. ; extern void GXSetStyleRunKerningAdjustments(gxStyle target, long count, const gxKerningAdjustment kerningAdjustments[2147483647])
  446. ;
  447.     IF ¨ GENERATINGCFM THEN
  448.         Macro
  449.         _GXSetStyleRunKerningAdjustments
  450.             move.w              #$001E,D0
  451.             dc.w                $A832
  452.         EndM
  453.     ELSE
  454.         IMPORT_CFM_FUNCTION GXSetStyleRunKerningAdjustments
  455.     ENDIF
  456.  
  457. ;
  458. ; extern void GXSetShapeRunControls(gxShape target, const gxRunControls *runControls)
  459. ;
  460.     IF ¨ GENERATINGCFM THEN
  461.         Macro
  462.         _GXSetShapeRunControls
  463.             move.w              #$001F,D0
  464.             dc.w                $A832
  465.         EndM
  466.     ELSE
  467.         IMPORT_CFM_FUNCTION GXSetShapeRunControls
  468.     ENDIF
  469.  
  470. ;
  471. ; extern void GXSetShapeRunPriorityJustOverride(gxShape target, const gxPriorityJustificationOverride *priorityJustificationOverride)
  472. ;
  473.     IF ¨ GENERATINGCFM THEN
  474.         Macro
  475.         _GXSetShapeRunPriorityJustOverride
  476.             move.w              #$0020,D0
  477.             dc.w                $A832
  478.         EndM
  479.     ELSE
  480.         IMPORT_CFM_FUNCTION GXSetShapeRunPriorityJustOverride
  481.     ENDIF
  482.  
  483. ;
  484. ; extern void GXSetShapeRunGlyphJustOverrides(gxShape target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  485. ;
  486.     IF ¨ GENERATINGCFM THEN
  487.         Macro
  488.         _GXSetShapeRunGlyphJustOverrides
  489.             move.w              #$0021,D0
  490.             dc.w                $A832
  491.         EndM
  492.     ELSE
  493.         IMPORT_CFM_FUNCTION GXSetShapeRunGlyphJustOverrides
  494.     ENDIF
  495.  
  496. ;
  497. ; extern void GXSetShapeRunGlyphSubstitutions(gxShape target, long count, const gxGlyphSubstitution glyphSubstitutions[2147483647])
  498. ;
  499.     IF ¨ GENERATINGCFM THEN
  500.         Macro
  501.         _GXSetShapeRunGlyphSubstitutions
  502.             move.w              #$0022,D0
  503.             dc.w                $A832
  504.         EndM
  505.     ELSE
  506.         IMPORT_CFM_FUNCTION GXSetShapeRunGlyphSubstitutions
  507.     ENDIF
  508.  
  509. ;
  510. ; extern void GXSetShapeRunFeatures(gxShape target, long count, const gxRunFeature runFeatures[2147483647])
  511. ;
  512.     IF ¨ GENERATINGCFM THEN
  513.         Macro
  514.         _GXSetShapeRunFeatures
  515.             move.w              #$0023,D0
  516.             dc.w                $A832
  517.         EndM
  518.     ELSE
  519.         IMPORT_CFM_FUNCTION GXSetShapeRunFeatures
  520.     ENDIF
  521.  
  522. ;
  523. ; extern void GXSetShapeRunKerningAdjustments(gxShape target, long count, const gxKerningAdjustment kerningAdjustments[2147483647])
  524. ;
  525.     IF ¨ GENERATINGCFM THEN
  526.         Macro
  527.         _GXSetShapeRunKerningAdjustments
  528.             move.w              #$0024,D0
  529.             dc.w                $A832
  530.         EndM
  531.     ELSE
  532.         IMPORT_CFM_FUNCTION GXSetShapeRunKerningAdjustments
  533.     ENDIF
  534.  
  535. ;
  536. ; extern long GXGetStyleRunControls(gxStyle source, gxRunControls *runControls)
  537. ;
  538.     IF ¨ GENERATINGCFM THEN
  539.         Macro
  540.         _GXGetStyleRunControls
  541.             move.w              #$0025,D0
  542.             dc.w                $A832
  543.         EndM
  544.     ELSE
  545.         IMPORT_CFM_FUNCTION GXGetStyleRunControls
  546.     ENDIF
  547.  
  548. ;
  549. ; extern long GXGetStyleRunPriorityJustOverride(gxStyle source, gxPriorityJustificationOverride *priorityJustificationOverride)
  550. ;
  551.     IF ¨ GENERATINGCFM THEN
  552.         Macro
  553.         _GXGetStyleRunPriorityJustOverride
  554.             move.w              #$0026,D0
  555.             dc.w                $A832
  556.         EndM
  557.     ELSE
  558.         IMPORT_CFM_FUNCTION GXGetStyleRunPriorityJustOverride
  559.     ENDIF
  560.  
  561. ;
  562. ; extern long GXGetStyleRunGlyphJustOverrides(gxStyle source, gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  563. ;
  564.     IF ¨ GENERATINGCFM THEN
  565.         Macro
  566.         _GXGetStyleRunGlyphJustOverrides
  567.             move.w              #$0027,D0
  568.             dc.w                $A832
  569.         EndM
  570.     ELSE
  571.         IMPORT_CFM_FUNCTION GXGetStyleRunGlyphJustOverrides
  572.     ENDIF
  573.  
  574. ;
  575. ; extern long GXGetStyleRunGlyphSubstitutions(gxStyle source, gxGlyphSubstitution glyphSubstitutions[2147483647])
  576. ;
  577.     IF ¨ GENERATINGCFM THEN
  578.         Macro
  579.         _GXGetStyleRunGlyphSubstitutions
  580.             move.w              #$0028,D0
  581.             dc.w                $A832
  582.         EndM
  583.     ELSE
  584.         IMPORT_CFM_FUNCTION GXGetStyleRunGlyphSubstitutions
  585.     ENDIF
  586.  
  587. ;
  588. ; extern long GXGetStyleRunFeatures(gxStyle source, gxRunFeature runFeatures[2147483647])
  589. ;
  590.     IF ¨ GENERATINGCFM THEN
  591.         Macro
  592.         _GXGetStyleRunFeatures
  593.             move.w              #$0029,D0
  594.             dc.w                $A832
  595.         EndM
  596.     ELSE
  597.         IMPORT_CFM_FUNCTION GXGetStyleRunFeatures
  598.     ENDIF
  599.  
  600. ;
  601. ; extern long GXGetStyleRunKerningAdjustments(gxStyle source, gxKerningAdjustment kerningAdjustments[2147483647])
  602. ;
  603.     IF ¨ GENERATINGCFM THEN
  604.         Macro
  605.         _GXGetStyleRunKerningAdjustments
  606.             move.w              #$002A,D0
  607.             dc.w                $A832
  608.         EndM
  609.     ELSE
  610.         IMPORT_CFM_FUNCTION GXGetStyleRunKerningAdjustments
  611.     ENDIF
  612.  
  613. ;
  614. ; extern long GXGetShapeRunControls(gxShape source, gxRunControls *runControls)
  615. ;
  616.     IF ¨ GENERATINGCFM THEN
  617.         Macro
  618.         _GXGetShapeRunControls
  619.             move.w              #$002B,D0
  620.             dc.w                $A832
  621.         EndM
  622.     ELSE
  623.         IMPORT_CFM_FUNCTION GXGetShapeRunControls
  624.     ENDIF
  625.  
  626. ;
  627. ; extern long GXGetShapeRunPriorityJustOverride(gxShape source, gxPriorityJustificationOverride *priorityJustificationOverride)
  628. ;
  629.     IF ¨ GENERATINGCFM THEN
  630.         Macro
  631.         _GXGetShapeRunPriorityJustOverride
  632.             move.w              #$002C,D0
  633.             dc.w                $A832
  634.         EndM
  635.     ELSE
  636.         IMPORT_CFM_FUNCTION GXGetShapeRunPriorityJustOverride
  637.     ENDIF
  638.  
  639. ;
  640. ; extern long GXGetShapeRunGlyphJustOverrides(gxShape source, gxGlyphJustificationOverride glyphJustificationOverrides[2147483647])
  641. ;
  642.     IF ¨ GENERATINGCFM THEN
  643.         Macro
  644.         _GXGetShapeRunGlyphJustOverrides
  645.             move.w              #$002D,D0
  646.             dc.w                $A832
  647.         EndM
  648.     ELSE
  649.         IMPORT_CFM_FUNCTION GXGetShapeRunGlyphJustOverrides
  650.     ENDIF
  651.  
  652. ;
  653. ; extern long GXGetShapeRunGlyphSubstitutions(gxShape source, gxGlyphSubstitution glyphSubstitutions[2147483647])
  654. ;
  655.     IF ¨ GENERATINGCFM THEN
  656.         Macro
  657.         _GXGetShapeRunGlyphSubstitutions
  658.             move.w              #$002E,D0
  659.             dc.w                $A832
  660.         EndM
  661.     ELSE
  662.         IMPORT_CFM_FUNCTION GXGetShapeRunGlyphSubstitutions
  663.     ENDIF
  664.  
  665. ;
  666. ; extern long GXGetShapeRunFeatures(gxShape source, gxRunFeature runFeatures[2147483647])
  667. ;
  668.     IF ¨ GENERATINGCFM THEN
  669.         Macro
  670.         _GXGetShapeRunFeatures
  671.             move.w              #$002F,D0
  672.             dc.w                $A832
  673.         EndM
  674.     ELSE
  675.         IMPORT_CFM_FUNCTION GXGetShapeRunFeatures
  676.     ENDIF
  677.  
  678. ;
  679. ; extern long GXGetShapeRunKerningAdjustments(gxShape source, gxKerningAdjustment kerningAdjustments[2147483647])
  680. ;
  681.     IF ¨ GENERATINGCFM THEN
  682.         Macro
  683.         _GXGetShapeRunKerningAdjustments
  684.             move.w              #$0030,D0
  685.             dc.w                $A832
  686.         EndM
  687.     ELSE
  688.         IMPORT_CFM_FUNCTION GXGetShapeRunKerningAdjustments
  689.     ENDIF
  690.  
  691.     ENDIF
  692.     ENDIF ; __GXLAYOUT__ 
  693.  
  694.